]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
main: Stop handling old 'panel-main-menu' shortcut
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 3 Jun 2021 18:12:35 +0000 (20:12 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 31 Aug 2021 19:01:25 +0000 (19:01 +0000)
It's a shortcut from the GNOME 2 days that few users will remember.
And if anyone really wants to keep it, they can use Settings to
assign <Alt>F1 to 'toggle-overview'.

https://discourse.gnome.org/t/difference-between-show-the-overview-and-show-the-activities-overview-keyboard-shortcuts/6572

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1871>

js/ui/main.js

index 549ecedd860b7f507d2ebb531ac08bee637896d3..c7bac11f25f8e6e43347e99d5543ee6f9b219598 100644 (file)
@@ -106,10 +106,6 @@ function _sessionUpdated() {
     if (sessionMode.isPrimary)
         _loadDefaultStylesheet();
 
-    wm.setCustomKeybindingHandler('panel-main-menu',
-                                  Shell.ActionMode.NORMAL |
-                                  Shell.ActionMode.OVERVIEW,
-                                  sessionMode.hasOverview ? overview.toggle.bind(overview) : null);
     wm.allowKeybinding('overlay-key', Shell.ActionMode.NORMAL |
                                       Shell.ActionMode.OVERVIEW);